package com.yx.fx.sys.web.model.find;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 杨智杰
 * @since 2021/8/19 15:21
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "菜单树查询条件数据模型")
public class FindMenuTree {

    @ApiModelProperty(value = "获取当前登录用户可以使用的菜单树")
    private Boolean isLogin = true;

    @ApiModelProperty(value = "获取所有菜单树")
    private Boolean isAll = false;

    @ApiModelProperty(value = "根据角色Id获取菜单树")
    private Long roleId;

}
